☑️ algorithm ver.1